<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="./Templates/css/reset.css" />
    <link rel="stylesheet" href="./Templates/css/text.css" />
    <link rel="stylesheet" href="./Templates/css/960_24_col.css" />
    <link rel="stylesheet" href="./Templates/css/demo.css" />
    <link rel="stylesheet" href="./Templates/css/form.css" />
    <script type="text/javascript" src="./Templates/js/jquery.js"></script>
    <script type="text/javascript" src="./Templates/js/core.js"></script>
  </head>
  <body>

  <div class="container_24">
	<h2>
		<img src="./Templates/images/rushi.jpg" />
	</h2>

        <div class="clear"></div>

        <div class="grid_24">
            <div class="box" style="text-align:left">
<?php
require_once 'autoload.php';
$view = new Core_View("index.html");
$config = new Zend_Config_Ini('./config/form.info.ini', 'information');
$form = new Zend_Form($config->info->voter);
$form->setView($view->getView());



if ($_POST)
{
    if ($form->isValid($_POST))
    {
        die("valid ok!!!");
    }
    else
    {
        echo $form;
    }
}
else
{
    echo $form;
}

?>
</div>
</div>
  </div>
  </body>
</html>